class Product {

    String code = System.currentTimeMillis()

    String name = ""

    double price = 10.0

    int delivery = 1

    boolean available = true

    String address = ""

    static constraints = {
        name(blank:false)
    }
}
